package com.platform.web.model;


import com.platform.common.base.BaseModel;

import java.util.Date;
import java.util.List;

/**
 * 系统角色
 * 
 * @author LiangMingHui
 *
 */
public class Role extends BaseModel {

	private static final long serialVersionUID = 740155735120937036L;

	/** 主键 */
	private String id;

	/** 角色名称 */
	private String roleName;

	/** 角色代码 */
	private String roleCode;

	/** 状态 */
	private Integer status;

	/**  */
	private Integer type;

	/** 创建人标识 */
	private String createrId;

	/** 创建时间 */
	private Date createTime;

	/** 备注 */
	private String remark;

	private List<RolePermisson> rolePermisson;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName == null ? null : roleName.trim();
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode == null ? null : roleCode.trim();
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCreaterId() {
		return createrId;
	}

	public void setCreaterId(String createrId) {
		this.createrId = createrId == null ? null : createrId.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public List<RolePermisson> getRolePermisson() {
		return rolePermisson;
	}

	public void setRolePermisson(List<RolePermisson> rolePermisson) {
		this.rolePermisson = rolePermisson;
	}
}